function GetSelect(){
	var slct= document.getElementById("select");
	var opts=slct.options[slct.selectedIndex].text;
	if(opts=="Frequency"){
		document.getElementById("select2").length=5;
		document.getElementById("select2").options[0].text="";
		document.getElementById("select2").options[1].text="Always";
		document.getElementById("select2").options[2].text="Sometimes";
		document.getElementById("select2").options[3].text="Often";
		document.getElementById("select2").options[4].text="Randomly";
	}
	else if(opts=="Status"){
		document.getElementById("select2").length=10;
		document.getElementById("select2").options[0].text="";
		document.getElementById("select2").options[1].text="Closed";
		document.getElementById("select2").options[2].text="Closed call";
		document.getElementById("select2").options[3].text="Duplicate";
		document.getElementById("select2").options[4].text="Enhancement";
		document.getElementById("select2").options[5].text="Feature";
		document.getElementById("select2").options[6].text="Fixed";
		document.getElementById("select2").options[7].text="In process";
		document.getElementById("select2").options[8].text="Not a bug";
		document.getElementById("select2").options[9].text="Not reproducible";

	}
	else if(opts=="Priority"){
		document.getElementById("select2").length=5;
		document.getElementById("select2").options[0].text="";
		document.getElementById("select2").options[1].text="Low";
		document.getElementById("select2").options[2].text="Medium";
		document.getElementById("select2").options[3].text="High";
		document.getElementById("select2").options[4].text="Not Entered";
	
	}
	else if(opts=="Severity"){
		document.getElementById("select2").length=5;
		document.getElementById("select2").options[0].text="";
		document.getElementById("select2").options[1].text="Critical";
		document.getElementById("select2").options[2].text="Low";
		document.getElementById("select2").options[3].text="Medium";
		document.getElementById("select2").options[4].text="High";
	
	}
	else if(opts==""){
		document.getElementById("select2").length=1;
		document.getElementById("select2").options[0].text="";	
	}
}

